package cn.estore.entity;
//定义数据库商品相信实体类
public class ProductEntity {
    private int id; //自增编号
    private int categoryMainId; //大类编号
    private int categoryBranchId; //小雷编号
    private String name; //商品名称
    private String producingArea; //商品场地
    private String description; //商品秒速
    private String createTime; //商品创建时间
    private float markPrice; //商品原价
    private  float sellPrice; //商品现价
    private int productAmount; //商品购买量
    private String pictrue; //商品图片
    private int discount; //是否有折扣 1有折扣，0无折扣

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCategoryMainId() {
        return categoryMainId;
    }

    public void setCategoryMainId(int categoryMainId) {
        this.categoryMainId = categoryMainId;
    }

    public int getCategoryBranchId() {
        return categoryBranchId;
    }

    public void setCategoryBranchId(int categoryBranchId) {
        this.categoryBranchId = categoryBranchId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProducingArea() {
        return producingArea;
    }

    public void setProducingArea(String producingArea) {
        this.producingArea = producingArea;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public float getMarkPrice() {
        return markPrice;
    }

    public void setMarkPrice(float markPrice) {
        this.markPrice = markPrice;
    }

    public float getSellPrice() {
        return sellPrice;
    }

    public void setSellPrice(float sellPrice) {
        this.sellPrice = sellPrice;
    }

    public int getProductAmount() {
        return productAmount;
    }

    public void setProductAmount(int productAmount) {
        this.productAmount = productAmount;
    }

    public String getPictrue() {
        return pictrue;
    }

    public void setPictrue(String pictrue) {
        this.pictrue = pictrue;
    }

    public int getDiscount() {
        return discount;
    }

    public void setDiscount(int discount) {
        this.discount = discount;
    }

}
